<template>
  <div>
    
    dididid-----------{{text}}
  </div>
</template>

<script>
import Eventbus from "@/eventBus"
export default {
   data(){
       return  {
           text:""
       }
   },
   mounted(){
     Eventbus.$on("di",(val)=>{
       console.log(val);
       this.text=val
     })
   }
   
}
</script>

<style>

</style>